//
//  LatestNewsviewController.h
//  KG
//
//  Created by Eugene Braginets on 14.03.12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
@class cellViewNews;
@class NewsItem;
@class bannerView;
@interface LatestNewsviewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
@property (strong, nonatomic) IBOutlet UILabel *newsSummary;
@property (strong, nonatomic) IBOutlet UIView *contentView;
@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *grayIndicator;
@property (strong, nonatomic) bannerView *bannerViewController;
@property (strong, nonatomic) IBOutlet UIImageView *newsImage;
@property (strong, nonatomic) IBOutlet UIImageView *newsImage2;
@property (strong, nonatomic) IBOutlet UIView *SummaryTransparentBack;
@property (strong, nonatomic) IBOutlet UITableView *tableView;
@property (assign, nonatomic) int newsItemToShow;
@property (assign, nonatomic) NSTimer* timer;
@property (assign, nonatomic) BOOL pressed;
@property (assign, nonatomic) NSString* currentImageID;
@property (strong, nonatomic) IBOutlet UILabel *errorMessage;

- (UIButton *) makeDetailDisclosureButton;

- (void)loadImage:(NewsItem*)item;
- (void) loadNewsItem: (NewsItem*) item;
- (void) loadData;
- (void) showNextNewsItem: (NSTimer*) theTimer ;
@end
